package ATM.service.impl;

import ATM.bean.RecordBean;
import ATM.dao.IRecordDAO;
import ATM.dao.impl.RecordDAOImpl;
import ATM.service.RecordService;

import java.util.List;

public class RecordServiceImpl implements RecordService {
    IRecordDAO recordDAO = new RecordDAOImpl();

    @Override
    public List<RecordBean> getRecordsByUserName(String username) {
        return recordDAO.getRecordsByUsername(username);
    }
}
